package site.marqstree.kotlin.library.good.ui.fragment.cartlist

import android.view.View
import site.marqstree.kotlin.library.base.util.rxbus.RxBus
import site.marqstree.kotlin.library.good.ui.bean.GoodVOBean
import site.marqstree.kotlin.library.good.ui.fragment.cartlist.event.EventItemSelectChange

/*
 * 项目名: KotlinMall
 * 包名: site.marqstree.kotlin.library.good.ui.fragment.cartlist
 * 文件名: CartItemPresenter
 * 创建者: marqstree
 * 创建时间: 2020/3/20 10:56
 * 描述: TODO
 */
class CartItemPresenter {
    fun clickCartCheckTv(view: View, goodVOBean: GoodVOBean){
        goodVOBean.selected.set(!goodVOBean.selected.get())
        RxBus.send(EventItemSelectChange())
    }
}